約 5,622,542 件
https://w.atwiki.jp/m_shige1979/pages/1586.html
nginx+php5.5+php-fpm 概要 nginx+php5.5+php-fpmの環境設定手順 環境 CentOS6.x 64bit 手順 # nginxをインストール wget http //nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm rpm -ivh nginx-release-centos-6-0.el6.ngx.noarch.rpm vim /etc/yum.repos.d/nginx.repo ---- [nginx] name=nginx repo baseurl=http //nginx.org/packages/centos/6/$basearch/ gpgcheck=0 enabled=1 ---- # インストール yum install -y nginx # 基本設定ファイル編集 vim /etc/nginx/nginx.conf ---- user nginx; worker_processes 2; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" ; access_log /var/log/nginx/access.log main; sendfile on; #tcp_nopush on; keepalive_timeout 65; #gzip設定; gzip on; gzip_types text/plain text/xml text/css text/javascript image/x-icon application/xml application/rss+xml application/json application/x-javascript; gzip_disable "MSIE [1-6]\."; gzip_disable "Mozilla/4"; # トークン他 server_tokens off; ignore_invalid_headers on; # 設定ファイル読み込み include /etc/nginx/conf.d/*.conf; } ---- # 自動起動、再起動 service nginx start chkconfig nginx on # phpenvをインストール cd curl https //raw.github.com/CHH/phpenv/master/bin/phpenv-install.sh | sh echo export PATH="$HOME/.phpenv/bin $PATH" ~/.bash_profile echo eval "$(phpenv init -)" ~/.bash_profile source ~/.bash_profile which phpenv mkdir -p ~/.phpenv/plugins cd ~/.phpenv/plugins git clone git //github.com/CHH/php-build.git chmod 755 php-build/bin/rbenv-install phpenv install usage phpenv install VERSION Available versions 5.2.17 5.3.10 5.3.11 いろいろ 5.5.5 5.5snapshot master yum --enablerepo=epel install re2c libmcrypt libmcrypt-devel yum install libxml2-devel bison bison-devel openssl-devel curl-devel libjpeg-devel libpng-devel libmcrypt-devel readline-devel libtidy-devel libxslt-devel httpd-devel enchant-devel libXpm libXpm-devel freetype-devel t1lib t1lib-devel gmp-devel libc-client-devel libicu-devel oniguruma-devel net-snmp net-snmp-devel bzip2-devel vim /root/.phpenv/plugins/php-build/share/php-build/definitions/5.5.5 ---- configure_option "--with-apxs2=/usr/sbin/apxs --enable-fpm --with-fpm-user=nginx --with-fpm-group=nginx --enable-fileinfo --enable-hash --enable-json --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-bcmath --with-bz2 --enable-ctype --with-iconv --enable-ftp --with-gettext --enable-mbstring --with-onig=/usr --with-pcre-regex --with-mysql=mysqlnd --with-mysql-sock=/tmp/mysql.sock --enable-phar --enable-shmop --enable-sockets --enable-simplexml --enable-dom --with-libxml-dir=/usr --enable-tokenizer --with-zlib --with-kerberos=/usr --with-openssl=/usr --enable-soap --enable-zip --with-mhash=yes --without-mm --with-enchant=/usr --with-zlib-dir=/usr --with-gd --enable-gd-native-ttf --with-gmp=/usr --with-jpeg-dir=/usr --with-xpm-dir=/usr/X11R6 --with-png-dir=/usr --with-freetype-dir=/usr --with-imap=/usr --with-imap-ssl --enable-intl --with-t1lib=/usr --with-mcrypt=/usr --with-snmp=/usr" install_package "http //www.php.net/distributions/php-5.5.5.tar.bz2" install_pyrus install_xdebug "2.2.3" enable_builtin_opcache ---- # install phpenv install 5.5.5 # モジュールをコピー cp /etc/httpd/modules/libphp5.so /root/.phpenv/versions/5.5.5/libphp5.so phpenv rehash phpenv global 5.5.5 php -v # php-fpm mkdir /var/log/php-fpm chown -R nobody nobody /var/log/php-fpm cp -f /tmp/php-build/source/5.5.5/sapi/fpm/php-fpm.conf /usr/local/etc/php-fpm.conf # サービス用起動スクリプトをコピー cp -f /tmp/php-build/source/5.5.5/sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm chmod 755 /etc/init.d/php-fpm chkconfig php-fpm on # /etc/init.d/php-fpmを編集してconfファイルの場所を変更する ---- # php_fpm_CONF=${prefix}/etc/php-fpm.conf ↓ php_fpm_CONF=/usr/local/etc/php-fpm.conf ---- # php-fpm.confを編集 vim /usr/local/etc/php-fpm.conf ---- [global] pid = run/php-fpm.pid [www] user = nginx group = nginx listen = 127.0.0.1 9000 listen.owner = nginx listen.group = nginx listen.mode = 0666 pm = dynamic pm.max_children = 8 pm.start_servers = 4 pm.min_spare_servers = 2 pm.max_spare_servers = 4 pm.max_requests = 500 ---- # 起動 service php-fpm start chkconfig php-fpm on # ログとドキュメントのディレクトリを作成 mkdir -p /var/log/nginx/dev1.example.com mkdir -p /var/www/html/dev1.example.com/public # nginxファイル作成 vim /etc/nginx/conf.d/dev1.example.com.conf ---- server { # ポート、サーバネーム listen 80; server_name dev1.example.com; # アクセスログ、エラーログ access_log /var/log/nginx/dev1.example.com/access.log main; error_log /var/log/nginx/dev1.example.com/error.log; # ドキュメントルート root /var/www/html/dev1.example.com/public; # indexファイル index index.php index.html index.htm; # phpの処理 location ~ \.php$ { fastcgi_pass 127.0.0.1 9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } # アクセスを制限する location ~ (\.htaccess|\.git|\.svn) { deny all; } # 文字コード charset utf-8; } ---- # 再起動 service nginx restart service php-fpm restart # 簡単なファイルを配置して確認 echo " ?php echo test ; phpinfo();" /var/www/html/dev1.example.com/public/index.php
https://w.atwiki.jp/chaos_pastel/
chaos pastel orange ご案内 「chaos pastel orange」制作用wikiです。 2013/12完成、配布開始! 失った記憶と狂った視界。それでも平穏だと思っていた学園生活が、下駄箱に届いたメモをきっかけに歪められていく。「私、和樹が治るまで。絶対、私のこと許さないから」「あたしのせいだ」「…………サイコパス……」学園サイコパステルノベル chaos pastel - orange 解散したスタッフのかたへ 既存の素材は組み込めなくても、できたらおまけ等にと考えています。 個人的には、文章も音楽も画像も、素材製作者さんご本人が手元で公開したい場合はご自由に公開して頂ければと思っています。 フリー素材として配布なども全く問題ないと考えています。 その際、企画カオス★パステルのために製作した素材であることを明記してもしなくても自由で良いのではと考えています。 ただし全く自由としてしまうと、ご本人でないかたが配布できてしまうので、公開・配布する場合はできたらご本人様確認できる形でご連絡頂ければと思います。 上記に問題がありそうでしたら、お知らせ下さい。 wikiの設定 現在、編集はメンバー、閲覧は誰でも状態。 引継ぎ中:アオイトトンボ ◆rNY7dzSz8Y 連絡先:aoitotonbopastel★gmail.com(★=@) スレ・wiki・ロダ 現行スレ画期的なギャルゲー思いついたpart8 chaos pastel orangehttp //ex14.vip2ch.com/test/read.cgi/news4gep/1359375144/ 過去スレ 前wiki画期的なギャルゲー思いついた カオス★パステルまとめwiki ロダカオス★パステル制作用うpロダ Special Thanks 順不同敬称略 完成が近づいてお借りする素材が確定してから改めて連絡予定 GEP 【隔離病棟】ヒロインがヤンデレのギャルゲみんなで作ろうぜ!【11号室】873タグ除去&置換スクリプト やっつけver タグを取り除くCGIを作ってお貸しくださいました。 画像素材配布サイト様 aquamary images http //www.aquamary.com(連絡済み) きまぐれアフター http //www5d.biglobe.ne.jp/~gakai/(連絡済み) ぐったりにゃんこのホームページ http //guttari8.sakura.ne.jp/(連絡済み) 誰そ彼亭 http //may.force.mepage.jp/(連絡済み) R*U*T*A ~ゲームのためのコミュニティ~ http //ruta2.fc2web.com/(連絡済み) NAOXな部屋 http //naox.main.jp/NAOX/(連絡済み) フリー写真素材 Futta.NET http //www.futta.net/(連絡済み) First Seed Material http //www.tekepon.net/fsm/(連絡済み) Rド http //www.geocities.co.jp/Milano-Cat/3319/(連絡済み) Silhouette design http //kage-design.com/(連絡済み) フリー写真素材PixcyTexture様 http //pixcytexture.web.fc2.com/(メール届かず) 写真素材足成 http //www.ashinari.com/(連絡済み) トリスメギストスラボ http //www.trismegistuslabo.com/blog/(連絡済み) 音楽素材配布サイト様 フリーBGM Music with myuu http //www.ne.jp/asahi/music/myuu/(連絡済み) 効果音素材配布サイト様 WEB WAVE LIB http //wwl.s-t-t.com/(報告・お礼窓口無?) ザ・マッチメイカァズ2nd http //osabisi.sakura.ne.jp/m2/(連絡済み) 音楽素材/魔王魂 http //maoudamashii.jokersounds.com/(連絡済み) フリー効果音 On-Jin ~音人~ http //www.yen-soft.com/ssse/(連絡済み) 効果音源 http //koukaongen.com/(連絡済み) Sound Jay http //www.soundjay.com/(連絡済み) 小森平の使い方 http //taira-komori.jpn.org/(連絡済み) 民譚/ポケットエポック http //minpoke.dee.cc/(連絡済み) ちょい音 http //www.heavenlyblue.info/se_free/(連絡済み) ポケットサウンド/効果音素材 http //pocket-se.info/(連絡済み) ボイス素材配布サイト様 フリー声素材配布サイト - あみたろの声素材工房 http //www14.big.or.jp/~amiami/happy/(連絡済み) スクリプト参考サイト様 OUTFOCUS http //homepage1.nifty.com/gutchie/(連絡済み) TJSに挑戦! http //tjs2.info/(連絡済み) 色々な墓場 http //www.geocities.co.jp/Bookend/2352/(連絡済み) サークル煌明 http //koumei.rejec.net/(連絡済み) Biscrat http //www.biscrat.com/works/(連絡済み) フォント配布サイト様 Ume-font http //sourceforge.jp/projects/ume-font/wiki/FrontPage(UmePlusレンダリング)(報告・お礼窓口無? レビューにお礼だけ) M+ FONTS http //mplus-fonts.sourceforge.jp/(UmePlusレンダリング)(連絡済み) LinuxPlayers http //www.geocities.jp/ep3797/index.html(UmePlusレンダリング)(連絡済み) あくび印 http //pandachan.jp/(画像)(連絡済み) itouhiroメモ http //d.hatena.ne.jp/itouhiro/(画像)(連絡済み) Gray Graphics http //www.orange.ne.jp/~den7/index.html(画像)(連絡済み) ガウプラ http //www.graphicartsunit.com/gaupra/(画像)(連絡済み) Little Limit http //www.geocities.jp/littlimi/(画像)(連絡済み) Y.Oz http //yozvox.web.infoseek.co.jp/(画像)(連絡済み) VSTi プラグイン配布サイト様 YMCK http //www.ymck.net/(連絡済み) 制作ツール配布サイト様 吉里吉里 ダウンロード ページ http //kikyou.info/tvp/(連絡済み) AviUtlのお部屋 http //spring-fragrance.mints.ne.jp/aviutl/(連絡済み) 以下広告
https://w.atwiki.jp/mekagazira/pages/24.html
PHP PHP インストール トラブル トラブル リンク先やボタンのURLのホスト部分がおかしい! 参考URL インストール 最新のphpのソースを取得する http //www.php.net/downloads.php $ pwd /export/meka/20100903php/php-5.2.14 $wget http //jp2.php.net/get/php-5.2.14.tar.gz/from/jp.php.net/mirror インストール $gunzip php-5.2.14.tar.gz $tar xvf php-5.2.14.tar $LD_LIBRARY_PATH= /usr/local/lib $PATH=/usr/local/bin /usr/bin /usr/sfw/bin /usr/ccs/bin $export LD_LIBRARY_PATH $export PATH $cd php-5.2.14 $./configure --enable-mbstring --with-apxs2=/usr/local/apache2/bin/apxs #LD_LIBRARY_PATH= /usr/local/lib #PATH=/usr/local/bin /usr/bin /usr/sfw/bin /usr/ccs/bin #export LD_LIBRARY_PATH #export PATH #make install # cp -pi php.ini-dist /usr/local/lib/php/php.ini apacheの設定 /usr/local/apache2/conf/httpd.confへ以下の記述を追加する。 310 #2010/09/03追加 311 AddType application/x-httpd-php .php $apachectl configtest Syntax OK /usr/local/apache2/htdocsへ test.phpを作成しテスト $vi test.php ? phpinfo()? ブラウザからアクセスして確認する。 http //192.168.11.4/test.php トラブル 初めrootになったあと、そのままmake installを実行したら以下のエラーが発生した。 Undefined first referenced symbol in file libiconv_close ext/iconv/.libs/iconv.o libiconv_open ext/iconv/.libs/iconv.o libiconv ext/iconv/.libs/iconv.o ld fatal Symbol referencing errors. No output written to sapi/cli/php collect2 ld returned 1 exit status make *** [sapi/cli/php] Error 1 LD_LIBRARY_PATHとPATHの設定をして再度make installしたら成功した。 chmod 755 /usr/local/apache2/modules/libphp5.so [activating module `php5 in /usr/local/apache2/conf/httpd.conf] Installing PHP CLI binary /usr/local/bin/ Installing PHP CLI man page /usr/local/man/man1/ Installing build environment /usr/local/lib/php/build/ Installing header files /usr/local/include/php/ Installing helper programs /usr/local/bin/ program phpize program php-config Installing man pages /usr/local/man/man1/ page phpize.1 page php-config.1 Installing PEAR environment /usr/local/lib/php/ [PEAR] Archive_Tar - installed 1.3.7 [PEAR] Console_Getopt - installed 1.2.3 [PEAR] Structures_Graph- installed 1.0.3 [PEAR] XML_Util - installed 1.2.1 [PEAR] PEAR - installed 1.9.1 Wrote PEAR system config file at /usr/local/etc/pear.conf You may want to add /usr/local/lib/php to your php.ini include_path Installing PDO headers /usr/local/include/php/ext/pdo/ 以下の通りgccでインストールしたから成功したのかな?? # which gcc /usr/local/bin/gcc トラブル リンク先やボタンのURLのホスト部分がおかしい! httpd.confのServerNameを変更すると。。。なおりました。 99 #ServerName www.mekagazi.com 80 100 ServerName 192.168.11.4 80 http //www.mekagazi.com/pukiwiki/index.php?FrontPage http //192.168.11.4/pukiwiki/index.php?FrontPage 参考URL http //www.harunire.com/t-yoda/index.php?Solaris/PukiWiki
https://w.atwiki.jp/takedaz/pages/14.html
ダウンロード 公式 インストール 解凍して任意の場所にコピー php.exe、php5ts.dllにパスを通す php.exe -iで確認 設定 php.iniを編集 php.ini-recommendedをphp.iniとしてコピー ドキュメントルート doc_root = "C \Documents and Settings\ushiyama\My Documents\files\public_html" extディレクトリ extension_dir = "c \program files\program\php-5.2.3-win32\ext" マルチバイトを使用可に コメントアウトを外す extension=php_mbstring.dll [mbstring]内以下7行のコメントアウトを外す mbstring.language=japanese mbstring.internal_encoding = EUC-JP mbstring.http_input = auto mbstring.http_output = SJIS mbstring.encoding_translation = Off mbstring.detect_order = auto mbstring.substitute_character = none; MySQLを使用可に コメントアウトを外す extension=php_mysql.dll SQLiteを使用可に 追加 extension=php_pdo.dll extension=php_pdo_sqlite.dll コメントアウトを外す extension=php_sqlite.dll タイムゾーンの設定 date.timezone=Asia/Tokyo pearの設定
https://w.atwiki.jp/memcache/pages/36.html
HTTP Header Proxy ServerWeb Debugging Proxy LINK SSL Pass-Thu HTTP Header http //www.tohoho-web.com/ex/http.htm http //web-tan.forum.impressrd.jp/e/2010/01/12/7156 Proxy Server http //howto.ysn-jp.com/tor/tor_what.php http //www.atmarkit.co.jp/fwin2k/win2ktips/031autoproxy/autoproxy.html Web Debugging Proxy Fiddler http //www.fiddler2.com/fiddler2/ LINK Studying HTTP http //www.studyinghttp.net/ Smart http //www.rfs.jp/sb/perl/03/03.html HTTPプロトコルとサーバへのリクエスト(FUJITSU) http //jp.fujitsu.com/solutions/sdas/technology/web-apl/01-http-protocol.html
https://w.atwiki.jp/wiki7_az/pages/16.html
モジュール PEAR Mail PEAR File_CSV PEAR DB セキュリティ対策 SQLインジェクション対策 $db = DB connect( $dsn ); $user_id = $db- quoteSmart( (string)$_POST["input_userid"] ); $pass = $db- quoteSmart( (string)$_POST["input_password"]); $SQL = "SELECT * FROM user WHERE userid=$user_id AND password=$pass"; プレームワーク mojavi2Official 環境によって出るエラー対策 開発環境 TruStudioEclipse用のPHPプラグイン Professional版は有償だが、Foundation版は無料 http //www.xored.com/ PHPDoc インストール # pear install PHPDoc ドキュメント生成 # phpdoc -s src/ -d doc/ memo var宣言した変数はクラス内でしか参照できない。 チェックボックスの値を配列で受け取る input type="checkbox" name="product[]" value="1" input type="checkbox" name="product[]" value="2" ↓ $product = $request- getParameter( product ); for ($i=0; $i =count($product); $i++) { echo $product[$i] . " BR "; } MySQLのdatetime型のデータを年月日時分秒のフォーマットで表示する date("Y年m月d日 H時i分s秒", strtotime($inquiry- get( inquiried ))) Simple Test (eclipse plugin)のインストール simpletest_1.0.1beta.eclipse_0.1.9.zip をダウンロードするhttp //www.lastcraft.com/simple_test.php zip を解凍し、plugin/net.sf.simpletest.eclipse_0.1.9.jar を eclipse の plugin フォルダ以下にコピーする。 eclipse を起動する。 Window- Preferences- SimpleTest で以下のパスを指定する。Php.exe file C \php\php.exe php.ini file C \php\php.ini Include File for Tests C \Program Files\eclipse311\plugins\net.sf.simpletest.eclipse_0.1.9.jar php.ini マルチバイトモジュールを有効化する extension_dir = "c \php\ext" extension=php_mbstring.dll PHP5 で PHP4 との互換性をもたせる。 zend.ze1_compatibility_mode = On
https://w.atwiki.jp/kagiwada/pages/41.html
PHP4.4.9 CentOS4.5 Apahe2.2.9+php4.4.9+mysql4.1.22 Client API version 4.1.22 wget http //jp.php.net/distributions/php-4.4.9.tar.gz tar zxvf ./php-4.4.9.tar.gz コピペするなら↓ ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pgsql=/usr/local/pgsql --with-config-file-path=/usr/local/apache2/conf --enable-mbstring --with-zlib-dir=/usr/local/lib --with-gd --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-freetype-dir=/usr/local/lib --with-xpm-dir=/usr/lib/X11 --with-mysql=/usr 内容 ./configure #--with-apxs2=/usr/local/apache2/bin/apxs #--with-pgsql=/usr/local/pgsql #--with-config-file-path=/usr/local/apache2/conf #--enable-mbstring #--enable-mbstr-enc-trans #--enable-mbresex #--with-zlib-dir=/usr/local/lib #--with-gd=/usr/local/lib #--with-jpeg-dir=/usr/local/lib #--with-png-dir=/usr/local/lib #--with-freetype-dir=/usr/local/lib #--with-xpm-dir=/usr/lib/X11 #--with-mysql=/usr make make install iniファイルをコピーして編集 cp php.ini-dist /usr/local/apache2/conf/php.ini cd /usr/local/apache2/conf/ vi php.ini ;magic_quotes_gpc = On magic_quotes_gpc = Off default_charset = "EUC-JP" [mbstring] ; language for internal character representation. mbstring.language = Japanese ; internal/script encoding. ; Some encoding cannot work as internal encoding. ; (e.g. SJIS, BIG5, ISO-2022-*) mbstring.internal_encoding = EUC-JP ; http input encoding. mbstring.http_input = auto ; http output encoding. mb_output_handler must be ; registered as output buffer to function ;mbstring.http_output = SJIS mbstring.http_output = EUC-JP ; enable automatic encoding translation according to ; mbstring.internal_encoding setting. Input chars are ; converted to internal encoding by setting this to On. ; Note Do _not_ use automatic encoding translation for ; portable libs/applications. ;mbstring.encoding_translation = Off mbstring.encoding_translation = On ; automatic encoding detection order. ; auto means mbstring.detect_order = auto ; substitute_character used when character cannot be converted ; one from another mbstring.substitute_character = none ; overload(replace) single byte functions by mbstring functions. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(), ; etc. Possible values are 0,1,2,4 or combination of them. ; For example, 7 for overload everything. ; 0 No overload ; 1 Overload mail() function ; 2 Overload str*() functions ; 4 Overload ereg*() functions ;mbstring.func_overload = 0 /usr/local/apache2/bin/apachectl start はまりどころ。 #--with-mysql=/usr を入れとかないと、Client API version が古くなっちゃいます。 3.23.49 だったかな? もう一度入れなおしたいなら。 ./configure #--with-apxs2=/usr/local/apache2/bin/apxs #--with-pgsql=/usr/local/pgsql #--with-config-file-path=/usr/local/apache2/conf #--enable-mbstring #--enable-mbstr-enc-trans #--enable-mbresex #--with-zlib-dir=/usr/local/lib #--with-gd=/usr/local/lib #--with-jpeg-dir=/usr/local/lib #--with-png-dir=/usr/local/lib #--with-freetype-dir=/usr/local/lib #--with-xpm-dir=/usr/lib/X11 #--with-mysql=/usr #make clean #make #make install だす!! これ忘れないでね。 vi /usr/local/apache2/conf/httpd.conf AddType application/x-httpd-php .php .php4 AddType application/X-httpd-php-source .phps .php4s アクセス数| - | 名前 コメント
https://w.atwiki.jp/m_shige1979/pages/479.html
初期設定 ファイルダウンロード ダウンロードサイトより「VC6 x86 Thread Safe」のファイル(Zip)をダウンロードする インストール Zipファイルを解凍して、解凍後のディレクトリをphp5へ変更し、c \php5へ移動 環境変数を設定して、"path"に"c \php5"を追加 apacheの設定 http.confファイルの編集 ・・・・ 省略 ・・・・ #LoadModule usertrack_module modules/mod_usertrack.so #LoadModule version_module modules/mod_version.so #LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule php5_module C /php5/php5apache2_2.dll PHPIniDir c /php5 ※PHPIniDirの設定はシステム環境変数 PHPRC に設定することでも対応できる ・・・・ 省略 ・・・・ [Date] ; Defines the default timezone used by the date functions ; http //php.net/date.timezone date.timezone = Asia/Tokyo ・・・・ 省略 ・・・・ php.ini-developmentの設定ファイルを編集し、C \php5\php.iniへコピー ・・・・ 省略 ・・・・ <IfModule dir_module> DirectoryIndex index.html index.php </IfModule> ・・・・ 省略 ・・・・ <IfModule mime_module> # # TypesConfig points to the file containing the list of mappings from # filename extension to MIME-type. # TypesConfig conf/mime.types # # AddType allows you to add to or override the MIME configuration # file specified in TypesConfig for specific file types. # #AddType application/x-gzip .tgz # # AddEncoding allows you to have certain browsers uncompress # information on the fly. Note Not all browsers support this. # #AddEncoding x-compress .Z #AddEncoding x-gzip .gz .tgz # # If the AddEncoding directives above are commented-out, then you # probably should define those extensions to indicate media types # AddType application/x-compress .Z AddType application/x-gzip .gz .tgz # # AddHandler allows you to map certain file extensions to handlers # actions unrelated to filetype. These can be either built into the server # or added with the Action directive (see below) # # To use CGI scripts outside of ScriptAliased directories # (You will also need to add ExecCGI to the Options directive.) # #AddHandler cgi-script .cgi # For type maps (negotiated resources) #AddHandler type-map var # # Filters allow you to process content before it is sent to the client. # # To parse .shtml files for server-side includes (SSI) # (You will also need to add Includes to the Options directive.) # #AddType text/html .shtml #AddOutputFilter INCLUDES .shtml AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps </IfModule> index.phpを編集 <?php phpinfo(); ?> apacheを再起動して確認
https://w.atwiki.jp/knowledge_library/pages/62.html
php.ini output_buffering = Off output_handler = none default_mimetype = "text/html" default_charset = UTF-8 ;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so" ;use xdebug ;extension=php_bz2.dll ;extension=php_curl.dll ;extension=php_fileinfo.dll ;extension=php_gd2.dll ;extension=php_gettext.dll ;extension=php_gmp.dll ;extension=php_intl.dll ;extension=php_imap.dll ;extension=php_interbase.dll ;extension=php_ldap.dll extension=php_mbstring.dll ;extension=php_exif.dll ; Must be after mbstring as it depends on it extension=php_mysql.dll ;extension=php_mysqli.dll ;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client ;extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client ;extension=php_openssl.dll ;extension=php_pdo_firebird.dll ;extension=php_pdo_mssql.dll extension=php_pdo_mysql.dll ;extension=php_pdo_oci.dll ;extension=php_pdo_odbc.dll ;extension=php_pdo_pgsql.dll ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; ;include and extension include_path = "/usr/include/php/include" extension_dir = "/usr/include/php/ext" ;default timezone [Date] date.timezone = Asia/Tokyo ;pdo [Pdo_mysql] pdo_mysql.default_socket=/opt/local/var/run/mysql5/mysqld.sock ;mbstiring [mbstring] mbstring.language = Japanease mbstring.encoding_translation = On mbstring.http_input = auto mbstring.http_output = UTF-8 mbstring.internal_encoding = UTF-8 mbstring.substitute_character = none xdebug [xdebug] xdebug.idekey="macgdbp" xdebug.remote_enable=1 xdebug.remote_handler="dbgp" xdebug.remote_mode=req xdebug.remote_host="localhost" xdebug.remote_port=9000 xdebug.remote_log="C \php5\logs\xdebug.log" xdebug.manual_url = http //jp2.php.net xdebug.collect_params = On xdebug.dump.GET = * xdebug.dump.POST = * error error_reporting = E_ALL ~E_DEPRECATED display_errors = On ;error_log = syslog //運用時に使用する項目 [Session] session.save_handler = files session.save_path = "/tmp/" session.use_cookies = 1 session.use_only_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 //開発環境では0 運用時は30~1h程度? session.cookie_path = / session.cookie_domain = http //php_application_demo.com session.cookie_httponly = 1 session.serialize_handler = php
https://w.atwiki.jp/asterisk99/pages/608.html
# SOME DESCRIPTIVE TITLE. # Copyright (C) 2021, PB'99 # This file is distributed under the same license as the NetworkX [Un # official Machine Translate] Japanese Doc package. # FIRST AUTHOR EMAIL@ADDRESS , 2021. # #, fuzzy msgid "" msgstr "" "Project-Id-Version NetworkX [Un official Machine Translate] Japanese Doc \n" "Report-Msgid-Bugs-To \n" "POT-Creation-Date 2021-06-25 23 18+0900\n" "PO-Revision-Date YEAR-MO-DA HO MI+ZONE\n" "Last-Translator FULL NAME EMAIL@ADDRESS \n" "Language-Team LANGUAGE LL@li.org \n" "MIME-Version 1.0\n" "Content-Type text/plain; charset=utf8\n" "Content-Transfer-Encoding 8bit\n" "Generated-By Babel 2.9.1\n" # ../../doc/index.rst 4 msgid "Software for Complex Networks" msgstr "複雑なネットワーク用のソフトウェア" # ../../doc/index.rst 6 msgid "" "NetworkX is a Python package for the creation, manipulation, and study of" " the structure, dynamics, and functions of complex networks." msgstr "NetworkXは、複雑なネットワークの構造、ダイナミクス、および関数を作成、操作、および調査するためのPythonパッケージです。" # ../../doc/index.rst 9 msgid "NetworkX provides " msgstr "NetworkXには次のものがあり" # ../../doc/index.rst 11 msgid "" "tools for the study of the structure and dynamics of social, biological, " "and infrastructure networks;" msgstr "ツール ソーシャル、生物、インフラ・ネットワークの構造と動態を研究する。" # ../../doc/index.rst 13 msgid "" "a standard programming interface and graph implementation that is " "suitable for many applications;" msgstr "多くのグラフに適した標準的なプログラミング・インターフェースとアプリケーション・インプリメンテーション" # ../../doc/index.rst 15 msgid "" "a rapid development environment for collaborative, multidisciplinary " "projects;" msgstr "協力的で学際的なプロジェクトのための迅速な開発環境" # ../../doc/index.rst 17 msgid "" "an interface to existing numerical algorithms and code written in C, C++," " and FORTRAN; and" msgstr "C、C++およびFORTRANで書かれた既存の数値アルゴリズムおよびコードへのインターフェース、および" # ../../doc/index.rst 19 msgid "the ability to painlessly work with large nonstandard data sets." msgstr "大規模な非標準データ・セットを容易に処理できるようになりました。" # ../../doc/index.rst 21 msgid "" "With NetworkX you can load and store networks in standard and nonstandard" " data formats, generate many types of random and classic networks, " "analyze network structure, build network models, design new network " "algorithms, draw networks, and much more." msgstr "NetworkXを使用すると、標準および非標準のデータ形式でネットワークを荷重および保存したり、さまざまなタイプのランダムおよびクラシックネットワークを生成したり、ネットワーク構造を解析したり、ネットワークモデルを構築したり、新しいネットワークアルゴリズムを設計したり、ネットワークを描画したりすることができます。" # ../../doc/index.rst 27 msgid "Audience" msgstr "対象ユーザー" # ../../doc/index.rst 29 # 🕷🕷🕷 Barabási msgid "" "The audience for NetworkX includes mathematicians, physicists, " "biologists, computer scientists, and social scientists. Good reviews of " "the science of complex networks are presented in Albert and Barab叩si " "[BA02]_, Newman [Newman03]_, and Dorogovtsev and Mendes [DM03]_. See also" " the classic texts [Bollobas01]_, [Diestel97]_ and [West01]_ for graph " "theoretic results and terminology. For basic graph algorithms, we " "recommend the texts of Sedgewick (e.g., [Sedgewick01]_ and " "[Sedgewick02]_) and the survey of Brandes and Erlebach [BE05]_." msgstr "NetworkXの読者には、数学者、物理学者、生物学者、コンピュータ科学者、ソーシャルの科学者が含まれています。複雑なネットワークの科学に関する優れたレビューは、Albert and Barab叩si[BA02]_、Newman[Newman03]_、Dorogovtsevとメンデス[DM03]_に掲載されています。グラフの理論的結果および用語については、クラシックのテキスト[Bollobas01]_、[Diestel97]_および[West01]_も参照してください。基本グラフアルゴリズムについては、Sedgewickのテキスト(例 [Sedgewick01]_および[Sedgewick02]_)およびBrandesとErlebachの調査[BE05]_をお勧めします。" # ../../doc/index.rst 39 # 🕷🕷🕷 用語集へ Python/Python msgid "Python" msgstr "パイソン(Python)" # ../../doc/index.rst 41 msgid "" "Python is a powerful programming language that allows simple and flexible" " representations of networks as well as clear and concise expressions of " "network algorithms. Python has a vibrant and growing ecosystem of " "packages that NetworkX uses to provide more features such as numerical " "linear algebra and drawing. In order to make the most out of NetworkX " "you will want to know how to write basic programs in Python. Among the " "many guides to Python, we recommend the `Python documentation " " https //docs.python.org/3/ `_ and the text by Alex Martelli " "[Martelli03]_." msgstr "Pythonは強力なプログラミング言語であり、ネットワークの単純で柔軟な表現と、ネットワークアルゴリズムの明確で簡潔な表現を可能にします。Pythonには、NetworkXが数値線形代数やドローイングなどの機能を提供するために使用するパッケージの活発で成長しているエコシステムがあります。NetworkXを最大限に活用するために、Pythonで基本プログラムを作成する方法を知りたいと思うでしょう。Pythonに関する多くのガイドの中で、`Python documentation https //docs.python.org/3/ `_とAlexマルテリ[マルテリ03]_によるテキストをお勧めします。" # ../../doc/index.rst 51 msgid "Free software" msgstr "フリーソフトウェア" # ../../doc/index.rst 53 msgid "" "NetworkX is free software; you can redistribute it and/or modify it under" " the terms of the doc `3-clause BSD License /license `. We welcome " "contributions. Join us on `GitHub " " https //github.com/networkx/networkx `_." msgstr "NetworkXはフリーソフトウェアです。doc `3-clause BSDライセンス /ライセンス `の条件に従って再配布および/または修正することができます。私たちは貢献を歓迎します。`GitHub https //github.com/networkx/networkx `_に参加してください。" # ../../doc/index.rst 58 msgid "History" msgstr "履歴" # ../../doc/index.rst 60 msgid "" "NetworkX was born in May 2002. The original version was designed and " "written by Aric Hagberg, Dan Schult, and Pieter Swart in 2002 and 2003. " "The first public release was in April 2005. Many people have contributed " "to the success of NetworkX. Some of the contributors are listed in the " " doc `credits. credits `" msgstr "NetworkXは2002年5月に生まれました。オリジナル版は、Aric Hagberg氏、Dan Schult氏、ピーテルSwart氏によって2002年と2003年に設計・執筆されました。最初のパブリックリリースは2005年4月でした。多くの人々がNetworkXの成功に貢献してきました。doc `クレジット. クレジット `には、多くの貢献者が掲載されています。" # ../../doc/index.rst 67 msgid "Documentation" msgstr "ドキュメント化" # ../../doc/index.rst msgid "Release" msgstr "リリース" # ../../doc/index.rst 71 msgid "|version|" msgstr "バージョン" # ../../doc/index.rst msgid "Date" msgstr "[日付]" # ../../doc/index.rst 72 msgid "|today|" msgstr "今日" # ../../doc/index.rst 89 msgid "Indices and tables" msgstr "インデックスおよびテーブル" # ../../doc/index.rst 91 msgid " ref `genindex`" msgstr " ref `genindex`" # ../../doc/index.rst 92 msgid " ref `modindex`" msgstr " ref `modindex`" # ../../doc/index.rst 93 msgid " ref `search`" msgstr " ref `検索`" # ../../doc/index.rst 94 msgid " ref `glossary`" msgstr " ref `用語集`" カウンタ: - 名前 コメント